package com.bstek.bdf4.mq.core;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Title: 配置类
 * @Package: com.bstek.bdf4.mq.properties
 * @Description:
 * @Author: zxq
 * @Date: 2024/2/7 - 14:30
 */

@Component
public class RabbitMQProPerties {

    @Value("${bstek.mq.queue}")
    private String queue;

    @Value("${bstek.mq.routingKey}")
    private String routingKey;

    @Value("${bstek.mq.exchange}")
    private String exchange;



    public String getQueue() {
        return queue;
    }

    public void setQueue(String queue) {
        this.queue = queue;
    }

    public String getRoutingKey() {
        return routingKey;
    }

    public void setRoutingKey(String routingKey) {
        this.routingKey = routingKey;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }
}
